package routes

import (
	"dfx_cmdb/cmdb-agent/apps"

	"github.com/gin-gonic/gin"
)

func blackListRoutes(g *gin.RouterGroup) {
	g = g.Group("blacklist")
	bApi := apps.App.BlackApi
	g.GET("/status", bApi.GetBlacklistStatus)
	g.POST("/status", bApi.SetBlacklistStatus)
	g.POST("/cron", bApi.SetBlacklistCron)
}
